package create

import "github.com/urfave/cli/v2"

func GetCmd() []*cli.Command {
	return []*cli.Command{
		{
			Name:  "config",
			Usage: "application config file",
			Flags: []cli.Flag{
				&cli.StringFlag{Name: "file", Aliases: []string{"f"}},
				&cli.StringFlag{Name: "helm-charts"},
			},
			Action: config,
		},
		{
			Name:  "instance",
			Usage: "applications",
			Flags: []cli.Flag{
				&cli.StringFlag{Name: "config", Aliases: []string{"c"}, Required: true},
				&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Required: true},
				&cli.StringFlag{Name: "label", Aliases: []string{"l"}},
			},
			Action: instance,
		},
		{
			Name:   "vm",
			Usage:  "virtual machines",
			Action: vm,
		},
	}
}
